<form name="message">
    <table class="messagetable">
        <tr>
            <th id="first">ID</th>
            <td><? echo $message['messageid']; ?></td>
        </tr>
        <tr>
            <th>Name</th>
            <td><? echo nl2br(htmlspecialchars($message['author'])); ?></td>
        </tr>
        <tr>
            <th>Message</th>
            <td><? echo nl2br(htmlspecialchars($message['text'])); ?></td>
        </tr>
        <tr>
            <th>Published</th>
            <td><? echo $message['datetime']; ?></td>
        </tr>
    </table>
</form>